FROM openjdk:8
# 添加JAR文件
# cache-demo.jar
ADD ./elecbook-auth-api/target/elecbook-auth-api-0.0.1-SNAPSHOT.jar /app/app.jar

WORKDIR /app

# 暴露端口
EXPOSE 62010

# java -jar -Dserver.port=8090 docker-test1.jar
ENTRYPOINT ["java", "-jar",  "app.jar","--spring.profiles.active=prod"]
